function checkEmail(obj){
	var reg = /^\w{3,}@\w+(\.\w+)+$/;	
	if (reg.test(obj)){	
		return true;	
	}	
	return false;
}

function checkPassword(obj){
	var reg = /^\w([\w\d\S]{5,20})$/;	
	if (reg.test(obj)){	
		return true;	
	}	
	return false;	
}